import request from "@/http/request";

export function getlist(params) {
  return request({
    url: "/dictType/getlist",
    method: "get",
    params,
  });
}
export function del(params) {
  return request({
    url: "/dictType/del/" + params,
    method: "delete"
  });
}
export function add(data) {
  return request({
    url: "/dictType/add",
    method: "post",
    data,
  });
}
export function update(data) {
  return request({
    url: "/dictType/update",
    method: "put",
    data,
  });
}
